import request from '@/utils/request'

// 查询学生信息列表
export function studentlist(query) {
    return request({
        url: '/system/student/list',
        method: 'get',
        params: query
    })
}

// 新增学生信息
export function studentAdd(query) {
    return request({
        url: '/system/student',
        method: 'post',
        data: query
    })
}

// 删除学生信息
export function studentDel(query) {
    return request({
        url: '/system/student/batchRemove',
        method: 'post',
        data: query
    })
}

// 修改学生信息
export function studentEdit(query) {
    return request({
        url: '/system/student',
        method: 'put',
        data: query
    })
}